@layout("/common/_form.html",{js:["/assets/modular/metadata/metadata/metadata_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="metadataForm" lay-filter="metadataForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="metadataId" type="hidden"/>
                    <input id="isDelete" name="isDelete" placeholder="请输入1代表可用；0代表删除" type="hidden" class="layui-input" lay-verify="required" required/>
                    <input id="metadataType" name="metadataType" placeholder="请输入元数据类型。1代表业务元；2代表技术元；；3代表管理元" type="hidden" class="layui-input" lay-verify="required" required/>


                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">数据编号<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="metadataNumber" name="metadataNumber" placeholder="请输入数据编号" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">数据名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="metadataName" name="metadataName" placeholder="请输入数据名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">描述<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="metadataDetail" name="metadataDetail" placeholder="请输入描述" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">数据量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="metadataTotal" name="metadataTotal" placeholder="请输入数据量" type="text" style="color: silver" class="layui-input" lay-verify="required" required disabled/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">对应表名<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="tableName" name="tableName" placeholder="请输入对应数据库表名" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}